import request from '../../utils/request';

export const trainData = query => {
    return request({
        // url: '/api/stand/assess/doMain',
        // method: 'post',
        url: './json/hospital/trainlist.json',
        method: 'get',
        params: query,
    });
};
// 根据用户accout 查询用户信息
export const selectByPtCerNo = query => {
    return request({
        // url: '/api/stand/assess/selectByPtCerNo',
        // method:'post',
        url:'./json/hospital/onePersonAssessList.json',
        method: 'get',
        params: query
    });
};
// 根据身份证，查询该患者各关节的左，右评估，及训练角度信息
export const selectLeftAndRightData = query => {
    return request({
        // url: '/api/stand/assess/selectByPtCerNo',
        // method:'post',
        url:'./json/hospital/onePersonAllData.json',
        method: 'get',
        params: query
    });
};
// 根据身份证，查询该患者的康复历史记录
export const selectTrainByPtCerNo = query => {
    return request({
        // url: '/api/stand/assess/selectByPtCerNo',
        // method:'post',
        url:'./json/hospital/trainAllList.json',
        method: 'get',
        params: query
    });
};




